//
//  XSPieViewModel.m
//  Test
//
//  Created by xueshan1 on 2018/12/14.
//  Copyright © 2018 xueshan1. All rights reserved.
//

#import "XSPieViewModel.h"

@implementation XSPieViewModel

+ (XSPieViewModel *)modelWithName:(NSString *)name color:(UIColor *)color value:(CGFloat)value{
    XSPieViewModel *model = [XSPieViewModel new];
    model.name = name;
    model.color = color;
    model.value = value;
    
    return model;
}

@end
